﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WMH_Project
{
    /*
     * Klasa generująca losowe osobniki.
     */
    public class SpecimenFactory
    {
       public SpecimenFactory(Graph graph)
        {
            this.Graph = graph;    
        }

        public Specimen GetSpecimen()
        {
            return new SpecimenImpl(graph,new Random());
        }

        private Graph graph;

        public Graph Graph
        {
            get { return graph; }
            set { graph = value; }
        }

    }
}
